#pragma once
#include "GameState.h"
#include "GameMain.h"

class CGameMain;

class CGameStateLv1:CGameState
{
public:
	CMyMario*	Mario;
	Bitmap*		bmBkg;
	CMyMap*		sprMap;
	vector<CMonster*> monsters;
	vector<Point> monstersPos;
	vector<Point> moneysPos;
	bool		isLeft;
	bool		canJump;
	bool		goLeft;
	int			monsStep;
	
	void MoveThings(int distance);
	void Reset();
	void LoadMap();
	void Complete();
	void HandleMoney();
	void MarioDead();
	void MessageEnter ( HDC* pDC );
	void MessageUpdate( int iKey );
	void MessagePaint( HDC* pDC );
	void MessageExit();
	

public:
	CGameStateLv1(CGameMain* pGameMain);
	CGameStateLv1(void);
	~CGameStateLv1(void);
};
